package dto

type SearchSystemAlarmReq struct {
	Page           int    `json:"page" form:"page"`
	Size           int    `json:"size" form:"size"`
	DeviceName     string `json:"deviceName" form:"deviceName"`
	AlarmTimeStart string `json:"alarmTimeStart" form:"alarmTimeStart"`
	AlarmTimeEnd   string `json:"alarmTimeEnd" form:"alarmTimeEnd"`
}

type SystemAlarmReq struct {
	ID           int64  `json:"id"`
	DeviceName   string `json:"deviceName"`
	Info         string `json:"info"`
	HandleStatus int    `json:"handleStatus"`
	AlarmTime    string `json:"alarmTime"`
	HandleTime   string `json:"handleTime"`
}

type SystemAlarm struct {
	ID           int64  `json:"id"`
	DeviceName   string `json:"deviceName"`
	Info         string `json:"info"`
	HandleStatus int    `json:"handleStatus"`
	AlarmTime    string `json:"alarmTime"`
	HandleTime   string `json:"handleTime"`
	CreateTime   string `json:"createTime"`
	UpdateTime   string `json:"updateTime"`
}

